package rules

import "gitee.com/hexug/go-tools/ioc"

const ConfName = "rules"

func (m *Rules) Init() error {
	return nil
}

func (m *Rules) Name() string {
	return ConfName
}

// 注册未预定义的配置对象
func init() {
	ioc.Container.RegisterConf(
		NewDefaultRules(),
	)
}
